Stream Functions
PHP Manual

stream_supports_lock

(PHP 5 >= 5.3.0)

stream_supports_lockTells whether the stream supports locking.

Descripción

bool stream_supports_lock ( resource $stream )

Tells whether the stream supports locking through flock().

Lista de parámetros

stream

The stream to check.

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

Ver también


Stream Functions
PHP Manual